import { ClientProviderOptions, Transport } from '@nestjs/microservices'
import { join } from 'path';


const SchoolClientOption: ClientProviderOptions = {
  name: 'SchoolRPC',
  transport: Transport.GRPC,
  options: {
    url: '127.0.0.1:8888',
    package: 'rpc',
    protoPath: join(__dirname, '../rpc.proto'),
  },
}


export {SchoolClientOption};